package com.ruoyi.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.product.domain.dto.WorkOrderDto;
import com.ruoyi.product.domain.vo.WorkOrderVo;


/**
 *
 */
public interface WorkOrderService  {
    Page<WorkOrderVo> getWorkOrderByPage(WorkOrderDto pageEntity);

    WorkOrderVo addWorkOrder(WorkOrderDto testDto);

    void updateWorkOrder(WorkOrderDto testDto);

    void delWorkOrder(WorkOrderDto testDto);

    /**
     * 根据工单号获取工单
     * @param workOrderDto
     * @return
     */
    WorkOrderVo getWorkOrderByCode(WorkOrderDto workOrderDto);

}
